#ifndef QTSPINNER_H
#define QTSPINNER_H

#include <QGraphicsItem>
#include "Spinner.h"
#include "QtCellSprite.h"
#include "Direction.h"

class QtSpinner: public QtCellSprite, public Spinner
{
public:
	QtSpinner(const Direction& direction, QtSprite *parent = 0);
	~QtSpinner();

	void Rotate();
	void SetDirection(const Direction& direction);

protected:	

	
private:
	void SetForegroundResource();

	unsigned int duration;
	Direction spinDirection;
};

#endif //QTSPINNER_H